const Router = require('@koa/router')

const {saveData, pageRecord, getRecord, delRecord} = require('../controller/record.controller')

const router = new Router({prefix: '/record'})

router.post('/saveData', saveData)
router.post('/pageRecord', pageRecord)
router.post('/getRecord', getRecord)
router.post('/delRecord', delRecord)
router.post('/delRecord', delRecord)

module.exports = router